package com.itsxb.service.impl;

import com.itsxb.pojo.domain.CustomerSummary;
import com.itsxb.mapper.CustomerSummaryMapper;
import com.itsxb.service.ICustomerSummaryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 乘客数据汇总 服务实现类
 * </p>
 *
 * @author 奇天书
 * @since 2023-12-21
 */
@Service
public class CustomerSummaryServiceImpl extends ServiceImpl<CustomerSummaryMapper, CustomerSummary> implements ICustomerSummaryService {

    @Override
    public void initCustomerSummary(Long id) {
        CustomerSummary customerSummary = new CustomerSummary();
        customerSummary.setId(id);
        super.save(customerSummary);
    }
}
